var e = getApp();

Page({
    data: {
        server: "http://www.ylhzzy.top:8828/public",
        serverUrl: "http://www.ylhzzy.top:8828/public",
        content: []
    },
    onLoad: function(n) {
        var t = this;
        console.log("options:", n), e.request({
            url: e.rserver + "/newsApi/getInfo",
            method: "POST",
            header: {
            },
            data: {
                token: e.token,
                id: n.id
            },
            success: function(e) {
                e.data.result.data.context;
                var n = JSON.parse(e.data.result.data.context);
                t.setData({
                    content: n
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});